package com.h817.Qianrushi;

public class QianTea {
    String Cancer;
    String type;
    String name;

    public QianTea(String cancer, String type, String name) {
        Cancer = cancer;
        this.type = type;
        this.name = name;
    }

    public String getCancer() {
        return Cancer;
    }

    public void setCancer(String cancer) {
        Cancer = cancer;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public QianTea() {
    }
    public void jiangke(){
        System.out.println("我是 " +getName()+
                "从业经验"+getCancer());
        System.out.println("试讲结束");
    }
}
